package com.leanyuan.publi.service.impl;

import com.leanyuan.publi.domain.TParkingspace;
import com.leanyuan.publi.dao.TParkingspaceMapper;
import com.leanyuan.publi.dto.Statisticsto;
import com.leanyuan.publi.service.TParkingspaceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 相亲相爱一家人
 * @since 2021-05-25
 */
@Service
public class TParkingspaceServiceImpl extends ServiceImpl<TParkingspaceMapper, TParkingspace> implements TParkingspaceService {
    @Autowired
    private TParkingspaceMapper tParkingspaceMapper;

    @Override
    public List<Statisticsto> findCount() {
        return tParkingspaceMapper.findCount();
    }
}
